﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <title>承建商管理</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/plugins/blueimp/css/blueimp-gallery.min.css" rel="stylesheet">
    <link href="css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="css/plugins/jsTree/style.min.css" rel="stylesheet">
    <link href="css/animate.css" rel="stylesheet">
    <link href="css/plugins/chosen/chosen.css" rel="stylesheet">
    <!-- Sweet Alert -->
    <link href="css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link href="css/plugins/datapicker/datepicker3.css" rel="stylesheet">
    <link href="css/style.css?v=4.1.0" rel="stylesheet">
    <link href="css/add-style.css" rel="stylesheet">

    <link rel="stylesheet" href="zTree/css/demo.css" type="text/css">
    <link rel="stylesheet" href="zTree/css/zTreeStyle/zTreeStyle.css" type="text/css">
    
</head>
<body class="gray-bg">
    <div class="wrapper wrapper-content  animated fadeInRight">
        <div class="row">
            <div id="part1" class="col-sm-3">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>承建商列表(备注：鼠标放到节点上修改-删除)</h5>
                    </div>
                    <div class="ibox-content">
                        <div>
                            <ul id="treeDemo" class="ztree" style="background-color:white;border:none;overflow:auto;margin:0px 0px;"></ul>   
                        </div>                        
                    </div>
                </div>
               
            </div>
            <div class="col-sm-9">
                <div class="tabs-container">
                    <ul class="nav nav-tabs">
                        <li class="active">
                            <a data-toggle="tab" href="#tab-1"><i class="fa fa-hourglass-end"></i>承建范围</a>
                        </li>
                        <li class="">
                            <a data-toggle="tab" href="#tab-2"><i class="fa fa-pencil"></i>承建商添加</a>
                        </li>
                        <!--<li class="">
                            <a data-toggle="tab" href="#tab-3"><i class="fa fa-briefcase"></i>承建范围管理</a>
                        </li>-->
                        <span class="text-muted small pull-right">
                            <a data-toggle="modal" href="wenjuan_add.html#modal-remark" class="btn btn-success btn-sm"> 添加承建范围 </a>
                            <!--<a data-toggle="modal" href="wenjuan_add.html#modal-remark" class="btn btn-danger btn-sm"><i class="fa fa-dollar"></i> 开发文档 </a>-->
                        </span>
                    </ul>

                    <div class="tab-content">
                        <!--设备信息tab 开始-->
                        <div id="tab-1" class="tab-pane active">
                            <div class="full-height-scroll">
                                <div class="table-responsive">
                                    <div class="ibox-content no-top-border" style="border: 1px solid #e7eaec;">
                                        <table class="table table-striped table-hover">
                                            <thead>
                                                <tr>
                                                    <th>承包项</th>
                                                    <th>承建范围（楼栋/单元/楼层/房间）</th>                                                    
                                                    <th>操作</th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                                <tr>
                                                    <td>隔墙龙骨施工质量</td>
                                                    <td>18-2（4个房间）</td>                                                   
                                                    <td>
                                                        <a data-toggle="modal" href="project_plan.html#modal-liveline" class="input">修改</a>
                                                        <a data-toggle="modal" href="project_plan.html#modal-liveline" class="input">删除</a>
                                                </tr>
                                                <tr>
                                                    <td>户内配电箱</td>
                                                    <td>18-1（5个房间）</td>
                                                    <td>
                                                        <a data-toggle="modal" href="project_plan.html#modal-liveline" class="input">修改</a>
                                                        <a data-toggle="modal" href="project_plan.html#modal-liveline" class="input">删除</a>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <!--设备信息tab 结束-->
                        <!--任务计划编辑tab 开始-->
                        <div id="tab-2" class="tab-pane">
                            <div class="full-height-scroll">
                                <div class="table-responsive">
                                    <div class="ibox float-e-margins">
                                        <div class="ibox-content no-top-border" style="border: 1px solid #e7eaec;">
                                            <div class="photos">
                                                <img alt="image" style="width:100%;height:100%;" src="img/承建商添加.png">
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <!--任务计划编辑tab 结束-->
                        <!--任务计划明细tab 开始-->
                        <div id="tab-3" class="tab-pane">

                            <div class="full-height-scroll">
                                <div class="table-responsive">
                                    <div class="ibox-content no-top-border" style="border: 1px solid #e7eaec;">
                                        <div class="row">
                                            <div id="part1" class="col-sm-2">
                                                <div id="jstree1" style="margin-left: -10px;">
                                                    <ul>
                                                        <li class="jstree-open">
                                                            富力物业服务集团
                                                            <ul>
                                                                <li>
                                                                    广州公司
                                                                    <ul>
                                                                        <li data-jstree='{"type":"son"}'>盈盛广场</li>
                                                                        <li data-jstree='{"type":"son"}'>富力中心</li>
                                                                        <li data-jstree='{"type":"son"}'>东堤湾</li>
                                                                    </ul>
                                                                </li>
                                                                <li>
                                                                    北京公司

                                                                    <ul>
                                                                        <li data-jstree='{"type":"son"}'>尚悦居</li>
                                                                        <li data-jstree='{"type":"son"}'>盛悦家园</li>
                                                                        <li data-jstree='{"type":"son"}'>丹麦小镇</li>
                                                                    </ul>
                                                                </li>
                                                                <li>
                                                                    天津公司
                                                                    <ul>
                                                                        <li data-jstree='{"type":"son"}'>富力中心</li>
                                                                        <li data-jstree='{"type":"son"}'>天津湾</li>
                                                                    </ul>
                                                                </li>
                                                            </ul>
                                                        </li>
                                                    </ul>
                                                </div>
                                            </div>
                                            <div class="col-sm-10">
                                                <table class="table table-striped table-hover">
                                                    <thead>
                                                        <tr>
                                                            <td class="client-link">状态</td>
                                                            <td class="client-link">分类</td>
                                                            <td class="client-link">任务名称</td>
                                                            <td class="client-link">设备名称</td>
                                                            <td class="client-link">数量/人均/总人数</td>
                                                            <td class="client-link">负责人/检查人</td>
                                                        </tr>
                                                    </thead>
                                                    <tbody>
                                                        <tr>
                                                            <td class="project-status"><span class="label label-danger">已超时</span></td>
                                                            <td>弱电系统-消防主机</td>
                                                            <td>
                                                                <a data-toggle="modal" href="project_plan.html#modal-timeline">富力家园一期给水系统-循环泵</a>
                                                                <br>
                                                                <small>一保 2016.4.6-2016.4.9</small>
                                                            </td>
                                                            <td>显示器</td>
                                                            <td>50&nbsp;/&nbsp;<span class="text-warning">25</span>&nbsp;/&nbsp;2</td>
                                                            <td>苗亚辉&nbsp;/&nbsp;李天一</td>
                                                        </tr>
                                                        <tr>
                                                            <td class="project-status">
                                                                <span class="label label-warning">
                                                                    保养中

                                                                </span>
                                                            </td>
                                                            <td>弱电系统-消防主机</td>
                                                            <td>
                                                                <a data-toggle="modal" href="project_plan.html#modal-timeline">富力家园一期给水系统-循环泵</a>
                                                                <br>
                                                                <small>二保 2016.11.6-2016.11.9</small>
                                                            </td>
                                                            <td>显示器</td>
                                                            <td>50&nbsp;/&nbsp;<span class="text-warning">25</span>&nbsp;/&nbsp;2</td>
                                                            <td>苗亚辉&nbsp;/&nbsp;李天一</td>

                                                        </tr>
                                                        <tr>
                                                            <td class="project-status"><span class="label label-danger">已超时</span></td>
                                                            <td>弱电系统-消防主机</td>
                                                            <td>
                                                                <a data-toggle="modal" href="project_plan.html#modal-timeline">富力家园一期给水系统-循环泵</a>
                                                                <br>
                                                                <small>一保 2016.4.6-2016.4.9</small>
                                                            </td>
                                                            <td>显示器</td>
                                                            <td>50&nbsp;/&nbsp;<span class="text-warning">25</span>&nbsp;/&nbsp;2</td>
                                                            <td>苗亚辉&nbsp;/&nbsp;李天一</td>
                                                        </tr>
                                                        <tr>
                                                            <td class="project-status">
                                                                <span class="label label-warning">
                                                                    保养中

                                                                </span>
                                                            </td>
                                                            <td>弱电系统-消防主机</td>
                                                            <td>
                                                                <a data-toggle="modal" href="project_plan.html#modal-timeline">富力家园一期给水系统-循环泵</a>
                                                                <br>
                                                                <small>二保 2016.11.6-2016.11.9</small>
                                                            </td>
                                                            <td>显示器</td>
                                                            <td>50&nbsp;/&nbsp;<span class="text-warning">25</span>&nbsp;/&nbsp;2</td>
                                                            <td>苗亚辉&nbsp;/&nbsp;李天一</td>

                                                        </tr>
                                                        <tr>
                                                            <td class="project-status"><span class="label label-danger">已超时</span></td>
                                                            <td>弱电系统-消防主机</td>
                                                            <td>
                                                                <a data-toggle="modal" href="project_plan.html#modal-timeline">富力家园一期给水系统-循环泵</a>
                                                                <br>
                                                                <small>一保 2016.4.6-2016.4.9</small>
                                                            </td>
                                                            <td>显示器</td>
                                                            <td>50&nbsp;/&nbsp;<span class="text-warning">25</span>&nbsp;/&nbsp;2</td>
                                                            <td>苗亚辉&nbsp;/&nbsp;李天一</td>
                                                        </tr>
                                                        <tr>
                                                            <td class="project-status">
                                                                <span class="label label-warning">
                                                                    保养中

                                                                </span>
                                                            </td>
                                                            <td>弱电系统-消防主机</td>
                                                            <td>
                                                                <a data-toggle="modal" href="project_plan.html#modal-timeline">富力家园一期给水系统-循环泵</a>
                                                                <br>
                                                                <small>二保 2016.11.6-2016.11.9</small>
                                                            </td>
                                                            <td>显示器</td>
                                                            <td>50&nbsp;/&nbsp;<span class="text-warning">25</span>&nbsp;/&nbsp;2</td>
                                                            <td>苗亚辉&nbsp;/&nbsp;李天一</td>

                                                        </tr>
                                                        <tr>
                                                            <td class="project-status"><span class="label label-danger">已超时</span></td>
                                                            <td>弱电系统-消防主机</td>
                                                            <td>
                                                                <a data-toggle="modal" href="project_plan.html#modal-timeline">富力家园一期给水系统-循环泵</a>
                                                                <br>
                                                                <small>一保 2016.4.6-2016.4.9</small>
                                                            </td>
                                                            <td>显示器</td>
                                                            <td>50&nbsp;/&nbsp;<span class="text-warning">25</span>&nbsp;/&nbsp;2</td>
                                                            <td>苗亚辉&nbsp;/&nbsp;李天一</td>
                                                        </tr>
                                                        <tr>
                                                            <td class="project-status">
                                                                <span class="label label-warning">
                                                                    保养中

                                                                </span>
                                                            </td>
                                                            <td>弱电系统-消防主机</td>
                                                            <td>
                                                                <a data-toggle="modal" href="project_plan.html#modal-timeline">富力家园一期给水系统-循环泵</a>
                                                                <br>
                                                                <small>二保 2016.11.6-2016.11.9</small>
                                                            </td>
                                                            <td>显示器</td>
                                                            <td>50&nbsp;/&nbsp;<span class="text-warning">25</span>&nbsp;/&nbsp;2</td>
                                                            <td>苗亚辉&nbsp;/&nbsp;李天一</td>

                                                        </tr>
                                                        <tr>
                                                            <td class="project-status"><span class="label label-danger">已超时</span></td>
                                                            <td>弱电系统-消防主机</td>
                                                            <td>
                                                                <a data-toggle="modal" href="project_plan.html#modal-timeline">富力家园一期给水系统-循环泵</a>
                                                                <br>
                                                                <small>一保 2016.4.6-2016.4.9</small>
                                                            </td>
                                                            <td>显示器</td>
                                                            <td>50&nbsp;/&nbsp;<span class="text-warning">25</span>&nbsp;/&nbsp;2</td>
                                                            <td>苗亚辉&nbsp;/&nbsp;李天一</td>
                                                        </tr>
                                                    </tbody>
                                                </table>
                                                <div class="text-right">
                                                    <ul class="pagination">
                                                        <li><a href="#">&laquo;</a></li>
                                                        <li><a href="#">1</a></li>
                                                        <li><a href="#">2</a></li>
                                                        <li><a href="#">3</a></li>
                                                        <li><a href="#">4</a></li>
                                                        <li><a href="#">5</a></li>
                                                        <li><a href="#">&raquo;</a></li>
                                                        <li><a href="#">页数：1/10</a></li>
                                                        <li><a href="#">总记录数：1000</a></li>
                                                    </ul>
                                                </div>
                                            </div>
                                        </div>
                                        
                                        
                                    </div>

                                </div>
                            </div>
                        </div>
                        <!--任务计划明细tab 结束-->
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--开发提示文字Start-->
    <div id="modal-remark" class="modal fade" aria-hidden="true">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-body">
                    <div class="well">
                        <h3>
                            前端开发事项：
                        </h3>
                        1、二维码显示小图点击后展示大图。
                    </div>
                    <div class="well well-lg">
                        <h3>
                            后台开发事项：
                        </h3>
                        1、微信照片上传后会直接用来显示到微信矩阵页面<br />
                        2、微信矩阵页面显示的省份：取微信所在机构的归属区域<br />
                    </div>
                </div>
            </div>
        </div>
    </div>



    <!-- 全局js -->
    <script type="text/javascript" src="zTree/js/jquery-1.4.4.min.js"></script>
    <script type="text/javascript" src="zTree/js/jquery.ztree.core.js"></script>
    <script type="text/javascript" src="zTree/js/jquery.ztree.excheck.js"></script>
    <!--
    <script type="text/javascript" src="../../../js/jquery.ztree.exedit.js"></script>
    -->
    <script type="text/javascript">
		<!--
		var setting = {
			check: {
				enable: true
			},
			data: {
				simpleData: {
					enable: true
				}
			}
		};
		var zNodes = [
            { id: 0, pId: 0, name: "广州东山新天地(项目)", open: false },
			{ id: 1, pId: 0, name: "分户(验收类型)", open: false },
			{ id: 11, pId: 1, name: "主卧(部位)", open: false },
			{ id: 111, pId: 11, name: "门(检查项)" },
			{ id: 112, pId: 11, name: "插座(检查项)" },
			{ id: 12, pId: 1, name: "次卧(部位)", open: false },
			{ id: 121, pId: 12, name: "门(检查项)" },
			{ id: 122, pId: 12, name: "插座(检查项)" },

			{ id: 2, pId: 0, name: "楼层公区(验收类型)", checked: false, open: false },
			{ id: 21, pId: 2, name: "走廊地面(部位)" },
			{ id: 22, pId: 2, name: "管井(部位)", open: false },
			{ id: 221, pId: 22, name: "饮水管(检查项)", checked: false },
			{ id: 222, pId: 22, name: "阀门(检查项)" },
			{ id: 23, pId: 2, name: "走廊灯(部位)" },

            { id: 3, pId: 0, name: "设备设置(验收类型)" },
            { id: 31, pId: 3, name: "消防(部位)" },
			{ id: 32, pId: 3, name: "排水(部位)", open: false },
			{ id: 321, pId: 32, name: "排水管(检查项)", checked: false },
			{ id: 322, pId: 32, name: "阀门(检查项)" },
			{ id: 33, pId: 3, name: "空调(部位)" },
            { id: 34, pId: 3, name: "电梯(部位)" },
            { id: 341, pId: 34, name: "轿厢(一级检查项)" },
            { id: 3411, pId: 341, name: "轿门(二级检查项)" },
            { id: 34111, pId: 3411, name: "轿门不平整(问题描述)" },
            { id: 34112, pId: 3411, name: "其他(问题描述)" },
            { id: 342, pId: 34, name: "钢丝绳(检查项)" },
            { id: 342, pId: 34, name: "锁闭装置(检查项)" },
            { id: 342, pId: 34, name: "机械制动器(检查项)" },
            { id: 342, pId: 34, name: "限速器(检查项)" },
            { id: 342, pId: 34, name: "缓冲器(检查项)" },
            { id: 342, pId: 34, name: "安全钳(检查项)" },
            { id: 35, pId: 3, name: "变送电(部位)" },
            { id: 36, pId: 3, name: "中水(部位)" },
            { id: 37, pId: 3, name: "供热(部位)" },
            { id: 38, pId: 3, name: "给水(部位)" },
            { id: 39, pId: 3, name: "弱电(部位)" }
		];
		$(document).ready(function(){
			$.fn.zTree.init($("#treeDemo"), setting, zNodes);
		});
		//-->
    </script>

    <script src="js/bootstrap.min.js?v=3.3.6"></script>
    <script src="js/plugins/blueimp/jquery.blueimp-gallery.min.js"></script>
    <script src="js/plugins/slimscroll/jquery.slimscroll.min.js"></script>

    <!-- 自定义js -->
    <script src="js/common.js"></script>
    <!-- Chosen -->
    <script src="js/plugins/chosen/chosen.jquery.js"></script>
    <!-- Data picker -->
    <script src="js/plugins/datapicker/bootstrap-datepicker.js"></script>

    <!-- jsTree plugin javascript -->
    <script src="js/plugins/jsTree/jstree.min.js"></script>

    <style>
        .jstree-open > .jstree-anchor > .fa-folder:before {
            content: "\f07c";
        }

        .jstree-default .jstree-icon.none {
            width: 0;
        }
    </style>
    <!--控制页面树元素-->
    <script type="text/javascript">
        $(document).ready(function () {

            $('#jstree1').jstree({
                'core': {
                    'check_callback': true
                },
                'plugins': ['types', 'dnd'],
                'types': {
                    'default': {
                        'icon': 'fa fa-folder'
                    },
                    'html': {
                        'icon': 'fa fa-file-code-o'
                    },
                    'svg': {
                        'icon': 'fa fa-file-picture-o'
                    },
                    'css': {
                        'icon': 'fa fa-file-code-o'
                    },
                    'img': {
                        'icon': 'fa fa-file-image-o'
                    },
                    'son': {
                        'icon': 'fa fa-file-text-o'
                    }

                }
            });
            $('#jstree1').jstree().open_all();
            $('#using_json').jstree({
                'core': {
                    'data': [
                    'Empty Folder',
                        {
                            'text': 'Resources',
                            'state': {
                                'opened': true
                            },
                            'children': [
                                {
                                    'text': 'css',
                                    'children': [
                                        {
                                            'text': 'animate.css',
                                            'icon': 'none'
                                        },
                                        {
                                            'text': 'bootstrap.css',
                                            'icon': 'none'
                                        },
                                        {
                                            'text': 'main.css',
                                            'icon': 'none'
                                        },
                                        {
                                            'text': 'style.css',
                                            'icon': 'none'
                                        }
                                    ],
                                    'state': {
                                        'opened': true
                                    }
                                },
                                {
                                    'text': 'js',
                                    'children': [
                                        {
                                            'text': 'bootstrap.js',
                                            'icon': 'none'
                                        },
                                        {
                                            'text': 'hplus.min.js',
                                            'icon': 'none'
                                        },
                                        {
                                            'text': 'jquery.min.js',
                                            'icon': 'none'
                                        },
                                        {
                                            'text': 'jsTree.min.js',
                                            'icon': 'none'
                                        },
                                        {
                                            'text': 'custom.min.js',
                                            'icon': 'none'
                                        }
                                    ],
                                    'state': {
                                        'opened': true
                                    }
                                },
                                {
                                    'text': 'html',
                                    'children': [
                                        {
                                            'text': 'layout.html',
                                            'icon': 'none'
                                        },
                                        {
                                            'text': 'navigation.html',
                                            'icon': 'none'
                                        },
                                        {
                                            'text': 'navbar.html',
                                            'icon': 'none'
                                        },
                                        {
                                            'text': 'footer.html',
                                            'icon': 'none'
                                        },
                                        {
                                            'text': 'sidebar.html',
                                            'icon': 'none'
                                        }
                                    ],
                                    'state': {
                                        'opened': true
                                    }
                                }
                            ]
                        },
                    'Fonts',
                    'Images',
                    'Scripts',
                    'Templates',
                    ]
                }
            });

        });

    </script>
    <script>
        $(function () {
            $('.full-height-scroll').slimScroll({
                height: '100%'
            });
        });
    </script>

    <!-- layerDate plugin javascript -->
    <script src="js/plugins/layer/laydate/laydate.js"></script>
    <script>
        $(document).ready(function () {
            $("#data_5 .input-daterange").datepicker({
                keyboardNavigation: false,
                forceParse: false,
                autoclose: true
            });
            $("#data_4 .input-group.date").datepicker({ format: 'yyyy', startView: 2, minViewMode: 2, keyboardNavigation: false, forceParse: false, autoclose: true, todayHighlight: true });

        });
    </script>

    <!-- Sweet alert -->
    <script src="js/plugins/sweetalert/sweetalert.min.js"></script>
    <script>
        $('.demo2').click(function () {

            swal({
                title: "保存成功！",
                type: "success"
            });
        });

        //-- 报废弹框--
        $('.demo4').click(function () {
            swal({
                title: "您确定要报废这条信息吗",
                text: "报废后将无法恢复，请谨慎操作！",
                type: "warning",
                showCancelButton: true,
                confirmButtonColor: "#DD6B55",
                confirmButtonText: "报废",
                closeOnConfirm: false
            }, function () {
                swal("报废成功！", "您已经永久报废了这条信息。", "success");
            });
        });
    </script>
    <script>
        $(document).ready(function () { $("#lightVersion").click(function (a) { a.preventDefault(); $("#ibox-content").removeClass("ibox-content"); $("#vertical-timeline").removeClass("dark-timeline"); $("#vertical-timeline").addClass("light-timeline") }); $("#darkVersion").click(function (a) { a.preventDefault(); $("#ibox-content").addClass("ibox-content"); $("#vertical-timeline").removeClass("light-timeline"); $("#vertical-timeline").addClass("dark-timeline") }); $("#leftVersion").click(function (a) { a.preventDefault(); $("#vertical-timeline").toggleClass("center-orientation") }) });
    </script>


    <script>
        //-- 下拉选择--
        var config = {
            ".chosen-select": {},
            ".chosen-select-deselect": {
                allow_single_deselect: true
            },
            ".chosen-select-no-single": {
                disable_search_threshold: 10
            },
            ".chosen-select-no-results": {
                no_results_text: "Oops, nothing found!"
            },
            ".chosen-select-width": {
                width: "95%"
            }
        };
        for (var selector in config) {
            $(selector).chosen(config[selector])
        }

    </script>
    <!--筛选条件显示切换-->
    <script>
        $("#screen-btn").click(function () {
            $("#screen-box").slideToggle("slow");
            $("#screen-btn .fa-chevron-up").toggle("slow");
            $("#screen-btn .fa-chevron-down").toggle("slow");

        })

    </script>

    <!--统计代码，可报废-->
</body>
</html>
